package model

type TimeLog struct {
	Id        int64  `json:"id" gorm:"column:id"`
	Complete  string `json:"complete" gorm:"column:complete"`
	LinkId    int64  `json:"link_id" gorm:"column:link_id"`
	ModuleId  int64  `json:"module_id" gorm:"column:module_id"`
	TenantId  int64  `json:"tenant_id" gorm:"column:tenant_id"`
	StartTime int64  `json:"start_time" gorm:"column:start_time"`
	EndTime   int64  `json:"end_time" gorm:"column:end_time"`
	CreatedBy int64  `json:"created_by" gorm:"column:created_by"`
	Created   int64  `json:"created" gorm:"column:created"`
}

// 设置表名
func (TimeLog) TableName() string {
	return "timelog"
}
